<?php include dirname(__FILE__).'/common/header.php'; ?>

<?php include dirname(__FILE__).'/common/menu.php'; ?>

var attr = {};
attr.ctrlName = '<?php echo $ctrlName; ?>';
attr.game_gift = <?php echo $game_gift ?>;
/*
| -------------------------------------------------------------------
|  List Grid
| -------------------------------------------------------------------
*/
list.grid = new ZM.GridPanel({
    url: list.baseUrl + attr.ctrlName+'/getCardHistoryList',
    columns:[
        {header:'顾客ID',dataIndex:'customer_id',filter:{}},
        {header:'bluemember用户ID',dataIndex:'bluemember_user_id',width:200,filter:{}},
        {header:'bluemembers手机号',dataIndex:'bluemember_phone',width:200,filter:{}},
        {header:'卡券号',dataIndex:'card_type',width:150},
        {header:'卡券名称',dataIndex:'card_name',width:150},
        {header:'来源',dataIndex:'source',filter:{}},
        {header:'领券时间',dataIndex:'card_time_time_create',width:140,filter:{xtype:'daterangefield'}}
    ]
});
/*
| -------------------------------------------------------------------
|  List Grid Action
| -------------------------------------------------------------------
*/


<?php include dirname(__FILE__).'/common/layout.php'; ?>
list.grid.store.load();
<?php include dirname(__FILE__).'/common/footer.php'; ?>